package com.jdjw.modules.wfactivity.service;

import com.jdjw.modules.busassetapply.entity.BusAssetApply;
import com.jdjw.modules.wfactivity.entity.WfActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jdjw.modules.wftask.entity.WfTask;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * wf_activity 服务类
 * </p>
 *
 * @author fq
 * @since 2021-07-13
 */
public interface WfActivityService extends IService<WfActivity> {


    String findNodeCode(String applyId);

    String createWorkFlow(String logo, String deptId,String id,String createBy,String userName) throws Exception;

    String sendNextNodeAllPerson(String id,String userId,String userName, String officeId, WfTask currentTaskParam) throws Exception;

    String sendNextNoteDesingnatedPerson(String id,String userId,String userName, String[] userIds, WfTask currentTaskParam);

    String sendAppointNodeAllPerson(String id,String userId,String userName, String officeId, String nodeCode, WfTask currentTaskParam) throws Exception;

    String sendBack(String id,String userId,String userName, String officeId, WfTask currentTaskParam) throws Exception;

    int findActivitySubmit(String applyId);

}
